﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Home.Domain.Entities
{
    public class UserInfo
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? Id { set; get; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }
        /// <summary>
        /// 注册Ip
        /// </summary>
        public string Ip { get; set; }
        /// <summary>
        /// Email
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 手机
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 最近登陆日期
        /// </summary>
        public DateTime? LoginDate { get; set; }
        /// <summary>
        /// 邀请人
        /// </summary>
        public virtual Salesman Salesman { get; set; } 

    }
}
